package com.gitee.cirnochat.user.model.vo.req.friend;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
@Schema(name = "二维码好友请求添加信息", description = "二维码好友请求添加信息")
public class FriendApplyAddRequest {
    @Schema(description = "好友ID", example = "111111414141")
    @NotNull(message = "好友ID不能为空")
    private Long id;
    @Schema(description = "验证信息", example = "你好，我想加你为好友")
    @Size(max = 50, message = "验证信息长度不能超过50个字符")
    private String message;
}
